package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


public class MesNeedMatMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public String getMatId() {
        return matId;
    }

    public void setMatId(String matId) {
        this.matId = matId;
    }

    public Long getNeedMatNum() {
        return needMatNum;
    }

    public void setNeedMatNum(Long needMatNum) {
        this.needMatNum = needMatNum;
    }

    public Long getWarehouseNum() {
        return warehouseNum;
    }

    public void setWarehouseNum(Long warehouseNum) {
        this.warehouseNum = warehouseNum;
    }

    public Long getNeedBuyNum() {
        return needBuyNum;
    }

    public void setNeedBuyNum(Long needBuyNum) {
        this.needBuyNum = needBuyNum;
    }
    //原料编码
    private String matId;
    //原料数量
    private Long needMatNum;
    //原料库库存
    private Long warehouseNum;
    //需采购数量
    private Long needBuyNum;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("warehouseNum", getWarehouseNum())
                .append("needBuyNum", getNeedBuyNum())
                .append("matId", getMatId())
                .append("needMatNum", getNeedMatNum())
                .toString();
    }
}
